class myInt(int):
    def __init__(self,pInt):
        int.__init__(self,pInt)
    def __eq__(self, __x: object) :
        print("I am different")
        return super().__eq__(__x)
a = myInt(10)
b = 10
print(a==b)